package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("device_step_set")
public class DeviceStepSet implements Serializable {
    private static final long serialVersionUID = 1L;

    @Field("_id")
    private String id;

    //计步开关
    @Field("switch")
    private Integer switchStatus = 1;

    //目标步数
    private Integer target;

    private Long updateTime;

    private Date expiryAt;

}
